package com.ama.dao;

import com.ama.pojo.Room;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoomDao extends BaseMapper<Room> {

    int deleteByPrimaryKey(Long roomId);

    int insertRoom(Room room);

    int insertSelective(Room room);

    Room selectByPrimaryKey(Long roomId);

    List<Room> selectByBuildId(Long buildId);

    int updateByPrimaryKeySelective(Room room);

    int updateByPrimaryKey(Room room);
}